<ion-header>
        <ion-toolbar color="light">
            <ion-buttons start >
                <button ion-button icon-only navPop>
                    <ion-icon name="arrow-back" ></ion-icon>
                </button>
            </ion-buttons>
            <ion-title>Pay</ion-title>
        </ion-toolbar>
    </ion-header>
    <ion-content>
        <div class="pay-content">
            <div class="card">
                <div class="card-content">
                    <p class="hc-list">Rent <span>{{_unit(form.price_unit)}} {{form.price}}</span> </p>
                    <p class="hc-list" *ngIf="!!form.deposit">Deposit <span>{{_unit(form.deposit_unit)}} {{form.deposit}}</span> </p>
                    <p class="hc-list" *ngIf="!!form.other_price">Other Fees <span>{{_unit(form.other_price_unit)}} {{form.other_price}}</span> </p>
                    <div class="total">Total: <span>{{_unit(form.total_price_unit)}} {{form.total_price}}</span></div>
                </div>
                <div class="card-pay">
                    <p class="title">Please choose your payment method</p>
                    <label class="card-pay-type" for="type">
                        <span class="pay paypal"></span>
                        <div class="pay_info">
                            Paypal
                            <label class="input-radio" for="type_three">
                                <input id="type_three" type="radio">
                                <span><b></b></span>
                            </label>
                        </div>
                    </label>
                    <label class="card-pay-type" for="type">
                        <span class="pay applepay"></span>
                        <div class="pay_info">
                            Alipay
                            <label class="input-radio" for="type_three">
                                <input id="type_three" type="radio" >
                                <span><b></b></span>
                            </label>
                        </div>
                    </label>
                </div>
            </div>
            <button ion-button (click)="pay()">Pay</button>
        </div>
    </ion-content>